﻿/**
 * Proyecto: Cognitum
 * Global IT Services 2008
 * @author Mislas
 */
Cognitum.Cobranza.ComplementoConciliacion.Entity = function(){
    if (LOG.isDebugEnabled()) {
        LOG.debug('[ComplementoConciliacion.Entity.ctor] <-');
    }
    Cognitum.Cobranza.ComplementoConciliacion.Entity.superclass.constructor.call(this, false, true);
}

Ext.extend(Cognitum.Cobranza.ComplementoConciliacion.Entity, Karma.Core.Entity, {
    id: 'ComplementoConciliacion.Entity',
    name: 'ComplementosConciliaciones',
    editorXType: 'comconc.editor',
    editorW: 750,
    editorH: 550,
	columns: [{
        Name: 'Numero',
        Property: 'Id'
    }, {
        Name: 'Conciliacion',
        Property: 'Conciliacion',
		EntityName: 'Conciliaciones',
		EntityProperty: 'Id',
		Tipo: 'entity'
    }, {
        Name: 'Complemento',
        Property: 'Complemento',
		EntityName: 'ComplementosConciliaciones',
		EntityProperty: 'Id',
		Tipo: 'entity'
    }],
    searchlist: {
        sortings: ['Id'],
        views: [{
            Id: 0,
            Nombre: 'Normal',
            Template: null
        }, {
            Id: 1,
            Nombre: 'Expandida',
            Template: null
        }],
        previewTemplate: null
    },
    link: {
        displayProperty: 'Id'
    }
});

Cognitum.ComplementoConciliaciones = Cognitum.Cobranza.ComplementoConciliacion.Entity;
